package com.cn.automatic.controller;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.cn.automatic.service.TestService;

@Controller
public class TestController {
	@Resource
	private TestService testService;
	
	@RequestMapping("/admin")
	public String toIndex(HttpServletRequest request,Model model){
		System.out.println("Hello");
		return "showTest";
	}
}
